package com.xyht.sca_s.student_manage_system.modules.newTips.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 新消息通知
 * </p>
 *
 * @author XYHT
 * @since 2023-04-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_new_tips")
@ApiModel(value="SmsNewTips对象", description="新消息通知")
public class SmsNewTips implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "消息通知类型  1：消息   2：待办   3：审核")
    private Integer tipsType;

    @ApiModelProperty(value = "消息发起人")
    private String tipsCreator;

    @ApiModelProperty(value = "消息通知范围类型 0：全通知  1：个人通知  2：角色通知  3：组织通知")
    private Integer tipsRangeType;

    @ApiModelProperty(value = "消息通知范围id集合  ")
    private String tipsRange;

    @ApiModelProperty(value = "消息通知抄送范围类型  0：全抄送  1：个人抄送  2：组织抄送  3：角色抄送")
    private Integer tipsCopyType;

    @ApiModelProperty(value = "抄送id集合")
    private String tipsCopy;

    @TableLogic
    private Integer isDeleted;

    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "过期时间")
    private Date expirationTime;

    @ApiModelProperty(value = "消息通知是否关闭   0：未关闭   1：关闭")
    private Integer isClose;

    private String appType;

    @ApiModelProperty(value = "消息通知绑定事件的id")
    private String eventId;

    @ApiModelProperty(value = "自定义消息内容")
    private String tipsContent;


}
